import {PageData} from "@/utils/http";
import {https} from "@/utils/request";
import {FileInfoProp, FilePageProp} from "@/pages/tools/modules";

// fileList 文件分页查询
export const fileList = (data: FilePageProp): Promise<PageData<FileInfoProp>> => {
    return https.request({
        url: '/tools/file/list',
        method: 'post',
        data: data
    })
}